package com.ys.entity.storage;

import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_StockControlRunning", catalog="Id")
public class TccStockControlRunning extends BaseEntity<TccStockControlRunning> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="StockControlId", nameJava="stockControlId", typeDataBase="bigint")
	private Long stockControlId;
	@YsField(nameDataBase="Guid", nameJava="guid", typeDataBase="varchar")
	private String guid;
	@YsField(nameDataBase="GuidStockControl", nameJava="guidStockControl", typeDataBase="varchar")
	private String guidStockControl;
	@YsField(nameDataBase="BidRelative", nameJava="bidRelative", typeDataBase="varchar")
	private String bidRelative;
	@YsField(nameDataBase="VGsBm", nameJava="vGsBm", typeDataBase="varchar")
	private String vGsBm;
	@YsField(nameDataBase="ProductCode", nameJava="productCode", typeDataBase="varchar")
	private String productCode;
	@YsField(nameDataBase="ProductNumChange", nameJava="productNumChange", typeDataBase="int")
	private Integer productNumChange;
	@YsField(nameDataBase="ProductNumLeft", nameJava="productNumLeft", typeDataBase="int")
	private Integer productNumLeft;
	@YsField(nameDataBase="locationHw", nameJava="locationHw", typeDataBase="varchar")
	private String locationHw;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccStockControlRunning setId(Long id) {
		this.id = id;
		return this;
	}
	public Long getStockControlId() {
		return stockControlId;
	}
	public TccStockControlRunning setStockControlId(Long stockControlId) {
		this.stockControlId = stockControlId;
		return this;
	}
	public String getGuid() {
		return guid;
	}
	public TccStockControlRunning setGuid(String guid) {
		this.guid = guid;
		return this;
	}
	public String getGuidStockControl() {
		return guidStockControl;
	}
	public TccStockControlRunning setGuidStockControl(String guidStockControl) {
		this.guidStockControl = guidStockControl;
		return this;
	}
	public String getBidRelative() {
		return bidRelative;
	}
	public TccStockControlRunning setBidRelative(String bidRelative) {
		this.bidRelative = bidRelative;
		return this;
	}
	public String getVGsBm() {
		return vGsBm;
	}
	public TccStockControlRunning setVGsBm(String vGsBm) {
		this.vGsBm = vGsBm;
		return this;
	}
	public String getProductCode() {
		return productCode;
	}
	public TccStockControlRunning setProductCode(String productCode) {
		this.productCode = productCode;
		return this;
	}
	public Integer getProductNumChange() {
		return productNumChange;
	}
	public TccStockControlRunning setProductNumChange(Integer productNumChange) {
		this.productNumChange = productNumChange;
		return this;
	}
	public Integer getProductNumLeft() {
		return productNumLeft;
	}
	public TccStockControlRunning setProductNumLeft(Integer productNumLeft) {
		this.productNumLeft = productNumLeft;
		return this;
	}
	public String getLocationHw() {
		return locationHw;
	}
	public TccStockControlRunning setLocationHw(String locationHw) {
		this.locationHw = locationHw;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TccStockControlRunning setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccStockControlRunning setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccStockControlRunning setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccStockControlRunning setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccStockControlRunning tccStockControlRunning(
		Long stockControlId,
		String guid,
		String guidStockControl,
		String bidRelative,
		String vGsBm,
		String productCode,
		Integer productNumChange,
		Integer productNumLeft,
		String locationHw,
		String remark,
		Integer status
			) {
		TccStockControlRunning entity = new TccStockControlRunning();
		entity.setStockControlId(stockControlId);
		entity.setGuid(guid);
		entity.setGuidStockControl(guidStockControl);
		entity.setBidRelative(bidRelative);
		entity.setVGsBm(vGsBm);
		entity.setProductCode(productCode);
		entity.setProductNumChange(productNumChange);
		entity.setProductNumLeft(productNumLeft);
		entity.setLocationHw(locationHw);
		entity.setRemark(remark);
		entity.setStatus(status);
		return entity;
	}
}